#include<iostream>
using namespace std;

class Test {
    static int x;
    int n;

    public:
    Test() {}
    Test(int a,int b) {
        x = a;
        n = b;
    }
    static int func() {
        return x;
    }

    static void sfunc(Test& r,int a) {
        r.n = a;
    }

    int getN() {
        return n;
    }
};

int Test::x = 25;

int main() {
    cout << Test::func() << endl;
    Test b,c(20,30);
    b.sfunc(b,58);
    cout << "b.x = " << b.func() << ",c.x = " << c.func() << endl;
    return 0;
}
